import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false
Vue.prototype.host = "http://47.94.213.158:9006/api"
App.mpType = 'app'
//until
import functions from "until/function.js"
Vue.use(functions)

// base64转换
import turnBase from 'until/turnBase.js';
Vue.prototype.turnBase = turnBase

// store
import store from "./store/index.js"
import storeMixin from "mixins/store.js"
Vue.mixin(storeMixin)

// request
import request from "./request/index.js"
Vue.prototype.request = request

// on pull down refresh
import onPullDownRefresh from "mixins/pullDownRefresh.js";
Vue.mixin(onPullDownRefresh)

// empty
import empty from "mixins/empty.js";
Vue.mixin(empty)

// uView
import uView from 'uview-ui'
Vue.use(uView);

const app = new Vue({
	...App,
	store
})
app.$mount()

